package com.yxw.live_vod_boot.entity;

import lombok.Data;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import org.springframework.format.annotation.DateTimeFormat;
import java.util.Date;
import java.io.Serializable;


/** 
 * @author liuxin
 * @create 2023-12-01 13:56:31 
 * @description 店铺注销信息 
 */
@Data
@TableName(value ="yx_live_shop_cancel")
@ApiModel(value = "店铺注销信息" , description="yx_live_shop_cancel")
public class YxLiveShopCancelEntity  implements Serializable {
    private static final long serialVersionUID = 1L;

    @TableField(value="live_shop_id")
    @ApiModelProperty(value="主键")
    private Long liveShopId;

    @TableField(value="shop_id")
    @ApiModelProperty(value="店铺ID")
    private String shopId;

    @TableField(value="shop_name")
    @ApiModelProperty(value="店铺名称")
    private String shopName;

    @TableField(value="merchant_id")
    @ApiModelProperty(value="商户ID（迎喜APP店铺）")
    private String merchantId;

    @TableField(value="merchant_name")
    @ApiModelProperty(value="商户名称")
    private String merchantName;

    @TableField(value="shop_background")
    @ApiModelProperty(value="店铺背景图")
    private String shopBackground;

    @TableField(value="shop_avatar")
    @ApiModelProperty(value="店铺头像")
    private String shopAvatar;

    @TableField(value="live_code")
    @ApiModelProperty(value="视频号")
    private String liveCode;

    @TableField(value="live_coin")
    @ApiModelProperty(value="视频币")
    private Double liveCoin;

    @TableField(value="wedding_candies")
    @ApiModelProperty(value="喜糖")
    private Double weddingCandies;

    @TableField(value="storage")
    @ApiModelProperty(value="点播空间大小（M）")
    private Double storage;

    @TableField(value="create_time")
    @ApiModelProperty(value="创建时间")
	@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
	@DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date createTime;

    @TableField(value="user_name")
    @ApiModelProperty(value="联系人名称")
    private String userName;

    @TableField(value="phone")
    @ApiModelProperty(value="联系人电话")
    private String phone;

    @TableField(value="sign")
    @ApiModelProperty(value="个性签名")
    private String sign;

    @TableField(value="shop_state")
    @ApiModelProperty(value="店铺状态:0被禁播,1中断,2正常")
    private Integer shopState;

    @TableField(value="update_time")
    @ApiModelProperty(value="更新时间")
	@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
	@DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date updateTime;

    @TableField(value="remain_storage")
    @ApiModelProperty(value="剩余点播空间大小（M）")
    private Double remainStorage;

    @TableField(value="channel_id")
    @ApiModelProperty(value="渠道ID")
    private Long channelId;

    @TableField(value="channel_code")
    @ApiModelProperty(value="渠道编码")
    private String channelCode;

    @TableField(value="channel_name")
    @ApiModelProperty(value="渠道名称")
    private String channelName;

    @TableField(value="cancel_user_id")
    @ApiModelProperty(value="注销人ID")
    private Long cancelUserId;

    @TableField(value="cancel_user_name")
    @ApiModelProperty(value="注销人")
    private String cancelUserName;

    @TableField(value="user_id")
    @ApiModelProperty(value="联系人电话")
    private Long userId;

}
